package com.example.common.model;

import java.util.Date;
import cn.hutool.core.date.DatePattern;
import com.baomidou.mybatisplus.annotation.IdType;
import com.example.common.base.BaseBean;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;


/**
 * user_feedback
 *
 * @author bianj
 * @version 1.0.0 2021-05-09
 */
@ApiModel(description = "user_feedback")
@TableName("user_feedback")
public class UserFeedback extends BaseBean {
    /** 版本号 */
    private static final long serialVersionUID = 3581298154269467071L;

    /* This code was generated by TableGo tools, mark 1 begin. */

    @ApiModelProperty(value = "编号")
    @TableId(type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "意见类型")
    private String types;

    @ApiModelProperty(value = "意见内容")
    private String content;

    @ApiModelProperty(value = "意见联系")
    private String relation;

    @ApiModelProperty(value = "意见时间")
    @JsonFormat(timezone = "GMT+8", pattern = DatePattern.NORM_DATETIME_PATTERN)
    private Date feedBackTime;

    @ApiModelProperty(value = "意见用户")
    private String userId;

    /* This code was generated by TableGo tools, mark 1 end. */

    /* This code was generated by TableGo tools, mark 2 begin. */

    /**
     * 获取编号
     * 
     * @return 编号
     */
    public Integer getId() {
        return this.id;
    }

    /**
     * 设置编号
     * 
     * @param id
     *          编号
     */
    public void setId(Integer id) {
        this.id = id;
    }

    /**
     * 获取意见类型
     * 
     * @return 意见类型
     */
    public String getTypes() {
        return this.types;
    }

    /**
     * 设置意见类型
     * 
     * @param types
     *          意见类型
     */
    public void setTypes(String types) {
        this.types = types;
    }

    /**
     * 获取意见内容
     * 
     * @return 意见内容
     */
    public String getContent() {
        return this.content;
    }

    /**
     * 设置意见内容
     * 
     * @param content
     *          意见内容
     */
    public void setContent(String content) {
        this.content = content;
    }

    /**
     * 获取意见联系
     * 
     * @return 意见联系
     */
    public String getRelation() {
        return this.relation;
    }

    /**
     * 设置意见联系
     * 
     * @param relation
     *          意见联系
     */
    public void setRelation(String relation) {
        this.relation = relation;
    }

    /**
     * 获取意见时间
     * 
     * @return 意见时间
     */
    public Date getFeedBackTime() {
        return this.feedBackTime;
    }

    /**
     * 设置意见时间
     * 
     * @param feedBackTime
     *          意见时间
     */
    public void setFeedBackTime(Date feedBackTime) {
        this.feedBackTime = feedBackTime;
    }

    /**
     * 获取意见用户
     * 
     * @return 意见用户
     */
    public String getUserId() {
        return this.userId;
    }

    /**
     * 设置意见用户
     * 
     * @param userId
     *          意见用户
     */
    public void setUserId(String userId) {
        this.userId = userId;
    }

    /* This code was generated by TableGo tools, mark 2 end. */
}